package rmaqlc31.basic;

import java.util.Scanner;

public class J04_CheckDayTime {

	public static void main(String[] args) {
		
		Scanner sc = null;
		String daytime;
		final String A = "morninghours";
		final String B = "midday";
		final String C = "noon";
		final String D = "afternoonhours";
		final String E = "eveninghours";
		final String F = "nighthours";
		final String G = "midnight";
		final String H = "earlymorning hours";
		final String I = "smallhours";
		final String J = "dawn";
		final String K = "daybreak";
		final String L = "잘못 입력하셨습니다.";
		
		sc = new Scanner(System.in);
		
		System.out.println("시간을 나타내는 영어단어를 쓰세요 : ");
		daytime = sc.next();
		
		if(daytime.equals(A)){System.out.println("아침시간(7-12)");}
		else if(daytime.equals(B)){System.out.println("점심시간(12-1)");}
		else if(daytime.equals(C)){System.out.println("점심시간(12-1)");}
		else if(daytime.equals(D)){System.out.println("오후(1-6)");}
		else if(daytime.equals(E)){System.out.println("저녁시간(6-9)");}
		else if(daytime.equals(F)){System.out.println("밤시간(9-12)");}
		else if(daytime.equals(G)){System.out.println("자정시간(12)");}
		else if(daytime.equals(H)){System.out.println("새벽시간(12-5)");}
		else if(daytime.equals(I)){System.out.println("새벽(1-3)");}
		else if(daytime.equals(J)){System.out.println("해뜰력(5-7)");}
		else if(daytime.equals(K)){System.out.println("해뜰력(5-7)");}
		else{System.out.println(L);}
		
		sc.close();
		
		

	}

}
